//
// Created by 吴锐 on 2022/2/23.
//

#include<iostream>

using namespace std;

//学生类
class Student {
public:
    string m_Name;
    int m_id;

    void showStudent(){
        cout << "姓名: " << m_Name << " 学号: " << m_id << endl;
    }

    void setName(string name){
        m_Name = name;
    }

    void setId(int id){
        m_id = id;
    }
};

int main(){

    Student s1;

    s1.setName("李四");
    s1.setId(1);
    s1.showStudent();

    return 0;
}